package com.pcbly.web.bean.crm;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class XsdProductBean extends AbstractBaseBean {
	 
	/**
	 * 
	 */
	private static final long serialVersionUID = -7926419651632651270L;
	
	private String xsdId;           //销售单编号
	
	private String productId;       //产品编号
	
	private String productXh;       //产品规格
	
	private String productName;     //产品名称
	
	private double price;            //售价
	
	private int nums;                //数量
	
	private double xj;               //金额小计
	
	private String remark;           //备注
	
	private double jgtz;	         //价格调整
	
	private double cbj;              //成本价
	
	private int sjcjNums;           //实际成交数量
	
	private double sjcjXj;          //实际成交小计
	
	private double khCbj;           //考核成本价
	
	private double gf;               //工分(比例点杀)
	
	private String dw;               //单位
	
	private double sd = 0;             //税点
	
	private double ds = 0;             //金额点杀
	
	private double basicRatio = 0;    //基本提成比例
	
	private double outRatio = 0;      //超限提成比例
	
	private double lsxj = 0;           //零售限价
	
	private String qzSerialNum;
	
	private String qzFlag;
	
	 
	
	public String getXsdId() {
		return xsdId;
	}

	public void setXsdId(String xsdId) {
		this.xsdId = xsdId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductXh() {
		return productXh;
	}

	public void setProductXh(String productXh) {
		this.productXh = productXh;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getNums() {
		return nums;
	}

	public void setNums(int nums) {
		this.nums = nums;
	}

	public double getXj() {
		return xj;
	}

	public void setXj(double xj) {
		this.xj = xj;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public double getJgtz() {
		return jgtz;
	}

	public void setJgtz(double jgtz) {
		this.jgtz = jgtz;
	}

	public double getCbj() {
		return cbj;
	}

	public void setCbj(double cbj) {
		this.cbj = cbj;
	} 
	

	public int getSjcjNums() {
		return sjcjNums;
	}

	public void setSjcjNums(int sjcjNums) {
		this.sjcjNums = sjcjNums;
	}

	public double getSjcjXj() {
		return sjcjXj;
	}

	public void setSjcjXj(double sjcjXj) {
		this.sjcjXj = sjcjXj;
	}

	public double getKhCbj() {
		return khCbj;
	}

	public void setKhCbj(double khCbj) {
		this.khCbj = khCbj;
	}

	public double getGf() {
		return gf;
	}

	public void setGf(double gf) {
		this.gf = gf;
	}

	public String getDw() {
		return dw;
	}

	public void setDw(String dw) {
		this.dw = dw;
	}

	public double getSd() {
		return sd;
	}

	public void setSd(double sd) {
		this.sd = sd;
	}

	public double getDs() {
		return ds;
	}

	public void setDs(double ds) {
		this.ds = ds;
	}

	public double getBasicRatio() {
		return basicRatio;
	}

	public void setBasicRatio(double basicRatio) {
		this.basicRatio = basicRatio;
	}

	public double getOutRatio() {
		return outRatio;
	}

	public void setOutRatio(double outRatio) {
		this.outRatio = outRatio;
	}

	public double getLsxj() {
		return lsxj;
	}

	public void setLsxj(double lsxj) {
		this.lsxj = lsxj;
	}

	public String getQzSerialNum() {
		return qzSerialNum;
	}

	public void setQzSerialNum(String qzSerialNum) {
		this.qzSerialNum = qzSerialNum;
	}

	public String getQzFlag() {
		return qzFlag;
	}

	public void setQzFlag(String qzFlag) {
		this.qzFlag = qzFlag;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
